package com.spring.nio.core.service.model;

public enum TaskStatusEnum {
    TASK_INIATIALIZE("100", "初始化"),
    TASK_PROCESSING("101", "任务中"),
    TASK_COMPLETED("102", "完成"),
    TASK_FAILED("103", "失败");

    private String code;
    private String description;
    TaskStatusEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
